home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / cia.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  781b  |  23 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_CIA_H
  4. #define _INLINE_CIA_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #define AbleICR(resource, mask) \
  11.     LP2UB(0x12, WORD, AbleICR, struct Library *, resource, a6, long, mask, d0)
  12.  
  13. #define AddICRVector(resource, iCRBit, interrupt) \
  14.     LP3UB(0x6, struct Interrupt *, AddICRVector, struct Library *, resource, a6, long, iCRBit, d0, struct Interrupt *, interrupt, a1)
  15.  
  16. #define RemICRVector(resource, iCRBit, interrupt) \
  17.     LP3NRUB(0xc, RemICRVector, struct Library *, resource, a6, long, iCRBit, d0, struct Interrupt *, interrupt, a1)
  18.  
  19. #define SetICR(resource, mask) \
  20.     LP2UB(0x18, WORD, SetICR, struct Library *, resource, a6, long, mask, d0)
  21.  
  22. #endif /* !_INLINE_CIA_H */
  23.